<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文章详情</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="favicon.ico"> 
    <link th:href="@{/admin/css/bootstrap.min.css?v=3.3.6}" rel="stylesheet">
    <link th:href="@{/admin/css/font-awesome.css?v=4.4.0}" rel="stylesheet">

    <link th:href="@{/admin/css/animate.css}" rel="stylesheet">
    <link th:href="@{/admin/css/style.css?v=4.1.0}" rel="stylesheet">
</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content  animated fadeInRight article">
        <div class="row">
            <div class="col-lg-10 col-lg-offset-1">
                <div class="ibox">
                    <div class="ibox-content">
                    	<div class="pull-left" >
	                        <a th:href="@{'/admin/article/edit/'+${article.id}}" class="btn-link">
	                            		<button class="btn btn-white btn-default" type="button" >编辑</button>
	                        </a>
                        </div>
                        <div class="pull-right" >
                            <button class="btn btn-white btn-xs" type="button" th:each="keyword:${#strings.setSplit(article.keyWord,'#')}" th:text="${keyword}"></button>
                        </div>
                        <div class="text-center article-title">
                            <h1 id = "article_title" th:text="${article.title}"></h1>
                        </div>
                        <div id="article_content" th:utext="${article.content}"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 全局js -->
    <script th:src="@{/admin/js/jquery.min.js?v=2.1.4}"></script>
    <script th:src="@{/admin/js/bootstrap.min.js?v=3.3.6}"></script>
    <!-- 自定义js -->
    <script th:src="@{/admin/js/content.js?v=1.0.0}"></script>
</body>
</html>
